package com.tzbank.poc.service;

import com.tzbank.poc.model.BindBankCard;
import com.tzbank.poc.model.BindBankCardKey;
import com.tzbank.poc.model.Customer;

import java.util.List;
import java.util.Map;

/**
 * @Author: li_zheng2
 * Create by li_zheng2 on 2019/1/21.
 */
public interface CustomerService {
   int addCustomer(Customer customer);

//   Customer queryCustomer(Customer customer);

   Map<String,Object> queryCustomerInfo(String userNo);

   Map<String,Object> queryCustomerByPhoneNo(String phoneNo);

   int updateCustomer(Customer customer);

   Map<String,Object> openAccountBindCard(BindBankCard bindBankCard);

   int deleteBindCard(BindBankCardKey bindBankCardKey);

    List<BindBankCard> queryBindCardList(String userNo);
}
